package com.ruoyi.back.domain.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("模板推荐列表参数")
data class TemplateRecommendListVo(

    @ApiModelProperty("编号")
    var id: Long? = null,

    @ApiModelProperty("标题")
    var title: String? = null,

    @ApiModelProperty("所属分类")
    var categoryId: Long? = null,

    @ApiModelProperty("分类名称")
    var categoryName: String? = null,

    @ApiModelProperty("封面")
    var cover: String? = null,

    @ApiModelProperty("内容")
    var content: String? = null,

    @ApiModelProperty("点赞")
    var likeNum: Long? = 0,

    @ApiModelProperty("收藏")
    var collectNum: Long? = 0,

    @ApiModelProperty("使用次数")
    var useNum: Long? = 0,

    @ApiModelProperty("评论数量")
    var commentNum: Long? = 0,


    @ApiModelProperty("推荐用户ID")
    var userId: String? = null,

    @ApiModelProperty("推荐用户名")
    var username: String? = null,

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("推荐时间")
    var createTime: String? = null,

    @ApiModelProperty("审核状态 1待审核 2.审核通过 3.审核失败")
    var checkStatus: Int? = null
)
